libxl: add service function to check whether device model is running
authorJuergen Gross <jgross@suse.com>
Tue, 29 Mar 2016 05:29:19 +0000 (07:29 +0200)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Apr 2016 13:58:02 +0000 (14:58 +0100)
commit9a649d693aef7128acacd4c25799df21036fea46
tree9cbb3ecd6c5a754c1e3b7f1b23dfa98694af072e
parent043910384cb9ea2c781a7dceac238e110a559c10
libxl: add service function to check whether device model is running

Add an internal service function to check for a running device model.
This can be used later when adding devices to a domain requiring a
device model for either printing an error message or starting the
device model in case it is not already running.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h